﻿using Radius.NET.Interface.Kingdee.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Radius.NET.Interface.Kingdee.Entity
{
    /// <summary>
    /// 采购订单
    /// </summary>
    public class PUR_PurchaseOrderDto
    {
        /// <summary>
        /// 采购订单内码
        /// </summary>
        public int FID { get; set; }
        public string FBillNo {  get; set; }
        public double FQty { get; set; }
        public double FEntryAmount { get; set; }
        public string FCreatorId { get; set; }
        public DateTime FDate {  get; set; }
        [KingdeeColumn("FSupplierId.FNumber")]
        public string FSupplierIdFNumber { get; set; }
        public string FPurchaserId { get; set;}
        /// <summary>
        /// 材料编码
        /// </summary>
        [KingdeeColumn("FMaterialId.FNumber")]
        public string FMaterialId_FNumber { get; set; }

        /// <summary>
        ///采购订单分录ID
        /// </summary>
        public int FPOOrderEntry_FEntryID { get; set; }

        /// <summary>
        /// 采购订单行号
        /// </summary>
        public int FPOOrderEntry_FSEQ { get; set; }

        /// <summary>
        /// 税额
        /// </summary>
        public double FBillTaxAmount { get; set; }
        /// <summary>
        /// 金额
        /// </summary>
        public double FBillAmount { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public double FPrice { get; set; }

        /// <summary>
        /// 含税单价
        /// </summary>
        public double FTaxPrice { get; set; }

        /// <summary>
        /// 价税合计(本位币)
        /// </summary>
        public double FAllAmount_LC { get; set; }
        /// <summary>
        /// 价税合计
        /// </summary>
        public double FAllAmount { get; set; }

        /// <summary>
        /// 税额
        /// </summary>
        public double FEntryTaxAmount { get; set; }

        /// <summary>
        /// 税额（本位币）
        /// </summary>
        public double FTaxAmount_LC { get; set; }

        /// <summary>
        /// 金额（本位币）
        /// </summary>
        public double FAmount_LC { get; set; }

        /// <summary>
        /// 金额
        /// </summary>
        public double FAmount { get; set; }
        /// <summary>
        /// 税率
        /// </summary>
        public double FEntryTaxRate { get; set; }
    }
}
